package com.ruoyi.airsystem.mapper;

import java.util.List;
import com.ruoyi.airsystem.domain.AirFormaldehyde;

/**
 * 甲醛浓度记录Mapper接口

 * @date 2025-04-18
 */
public interface AirFormaldehydeMapper 
{
    /**
     * 查询甲醛浓度记录
     * 
     * @param recordId 甲醛浓度记录主键
     * @return 甲醛浓度记录
     */
    public AirFormaldehyde selectAirFormaldehydeByRecordId(Long recordId);

    /**
     * 查询甲醛浓度记录列表
     * 
     * @param airFormaldehyde 甲醛浓度记录
     * @return 甲醛浓度记录集合
     */
    public List<AirFormaldehyde> selectAirFormaldehydeList(AirFormaldehyde airFormaldehyde);

    /**
     * 新增甲醛浓度记录
     * 
     * @param airFormaldehyde 甲醛浓度记录
     * @return 结果
     */
    public int insertAirFormaldehyde(AirFormaldehyde airFormaldehyde);

    /**
     * 修改甲醛浓度记录
     * 
     * @param airFormaldehyde 甲醛浓度记录
     * @return 结果
     */
    public int updateAirFormaldehyde(AirFormaldehyde airFormaldehyde);

    /**
     * 删除甲醛浓度记录
     * 
     * @param recordId 甲醛浓度记录主键
     * @return 结果
     */
    public int deleteAirFormaldehydeByRecordId(Long recordId);

    /**
     * 批量删除甲醛浓度记录
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAirFormaldehydeByRecordIds(Long[] recordIds);
}
